package model

import "gorm.io/gorm"

type Key struct {
	gorm.Model
	Index         int    `json:"index" gorm:"index;comment:新建 索引值"`
	Data          string `json:"data" gorm:"comment:密钥值"`
	Algorithm     string `json:"algorithm" gorm:"comment:算法标识，rsa/sm2"`
	EntityName    string `json:"entity_name" gorm:"comment:实体名称"`
	CertificateId int    `json:"certificate_id" gorm:"comment:证书ID"`
}
